package com.topone.Utils;

import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by Administrator on 2017/12/28,0028.
 */
@Data
public  class CodeUntil {
    public static String getBussinessCode() {
    SimpleDateFormat df = new SimpleDateFormat("yyyyMMddHHmmss");//设置日期格式
    String code="FZ"+df.format(new Date());
    return code;
}
}
